Home

Operator Usage

Name

random-int

Description

random-int[max-digits]
generates a random number between 1 and 10^max-digits
if given more than 1 parameter, or max-digits is not an integer, return the empty ket


Examples

random-int[6]
    |62882>

random-int[6]
    |540549>


See also

Operator type

ket compound